home *** CD-ROM | disk | FTP | other *** search
- #pragma once
- /*
- * gConstDefines.h
- *
- * OSA_Runner
- * ^^^^^^^^^^
- *
- * Defined items with global scope
- * © Andrew Nemeth (where applicable), Warrimoo Australia 1995
- *
- * File created: 3 Oct 95.
- * Modified: 3, 18, 20 Oct 95.
- */
-
-
- // #DEFINES
- //
-
- #define kMoveToFront (WindowPtr)-1L
- #define kEmptyString "\p"
- #define kNilFilterProc NULL
-
-
- // APPLICATION SIGNATURE
- //
-
- const OSType kAppCreator = '????';
-
-
-
-
- // MENUs
- //
-
- // Application Menu bar
- const short kMenuBar_ID = 2000;
- // Indexes & Number of menus in bar
- enum {
- kAppleNdx,
- kFileNdx,
- kOptionsNdx,
- kMenusInBar };
-
- enum { kMyAppleMenu = 0,
-
- kM_About,
-
- kMApple_ID = 2000 };
-
- enum { kMyFileMenu = 0,
-
- kM_Quit,
-
- kMFile_ID = 2001 };
-
- enum { kMyOptionsMenu = 0,
-
- kM_ASRun_NoVar,
- kM_ASRun_WithVar,
- k______3a,
- kM_ASFileRun_WithVar,
-
- kMOptions_ID = 2002 };
-
- // DIALOGS
- //
-
- // 'About application' ALRT
- const short kresidALRT_About = 2000,
- kresidALRT_AScript = 2001,
- kresidALRT_ASResults = 2002;
- // useful constants for DITLs
- const short iOKButton = 1,
- iCancelButton = 2,
- kDisableControl = 255,
- kEnableControl = 0;
-